
import React from 'react';
import ReactDOM from 'react-dom';

let a= {a:1, b:2}

// 需要使用object-rest-spread插件处理
console.log({...a,c:3})

ReactDOM.render(
    <div>React</div>,
    document.getElementById('root')
);
